<!DOCTYPE HTML>
<html>
<head>
<meta charset="utf-8">
<title>皮肤设置</title>
#include("/sysapp/global_css.html")
<link rel="stylesheet" href="/static/img/ui/sys.css">
</head>

<body>
<div class="title">
	<ul>
		<li><a href="/sysapp/wallpaper/index.html">壁纸设置</a></li>
		<li class="focus">皮肤设置</li>
	</ul>
</div>
<ul class="skin">
	$skinBody
</ul>
#include("/sysapp/global_js.html")
<script>
$(function(){
	$('.skin li').on('click', function(){
		$('.skin li').removeClass('selected');
		$(this).addClass('selected');
		var skin = $(this).attr('skin');
		$.ajax({
			type : 'POST',
			url : 'ajax.html',
			data : 'ac=update&skin=' + skin,
			success : function(){
				window.parent.ZENG.msgbox.show("设置成功，正在切换皮肤，如果长时间没更新，请刷新页面", 4, 5000);
				window.parent.HROS.base.setSkin(skin, function(){
					window.parent.ZENG.msgbox._hide();
				});
			}
		});
	});
});
</script>
</body>
</html>